package hu.tortavar2.client.view.adminpages;

import java.util.List;

import hu.tortavar2.shared.ProductCategory;
import hu.tortavar2.shared.Shop;

import com.google.gwt.user.client.ui.IsWidget;

public interface ManageSiteData extends IsWidget{

	void setPresenter(Presenter presenter);
	void setShops(List<Shop> shops);
	
	
	public interface Presenter {
		void onAddNewCategory(ProductCategory category);
		void onDeleteCategory(String encodedKey);
		
		void onAddNewImage();
		
		void onAddNewShop(Shop shop);
		List<Shop> refreshShops();
	}
}
